﻿using System;
public class Employee
{
    private string _empId;
    private string _empName;

    public Employee(string empId, string empName)
    {
        _empId = empId;
        _empName = empName;
    }
    public string GetEmpId() => _empId;
    public void SetEmpId(string empId) => _empId = empId;
    public string GetEmpName() => _empName;
    public void SetEmpName(string empName) => _empName = empName;
    public void ShowEmpInfo()
    {
        Console.WriteLine($"员工编号：{_empId}");
        Console.WriteLine($"员工姓名：{_empName}");
    }
}
class 第二题
{
    static void Main(string[] args)
    {
        Employee emp = new Employee("01", "胡云峰");
        Console.WriteLine("=== 初始员工信息 ===");
        emp.ShowEmpInfo();
        emp.SetEmpId("02");
        emp.SetEmpName("小学生");
        Console.WriteLine("\n=== 修改后员工信息 ===");
        emp.ShowEmpInfo();
    }
}